﻿#region Usings


using System.Windows;
using System.Windows.Media;
using ScrumTable.UI.ViewModel.Controller;

#endregion

namespace ScrumTable.UI.View.WinTouch.UserControls.Menu.MenuItems
{
    /// <summary>
    /// Represent a project meeting main entry (example: DailyScrum)
    /// </summary>
    public class ProjectMeetingEntry : MenuEntry
    {

        #region Declarations
        //--------------------------------------------------------------------
        // Declarations
        //--------------------------------------------------------------------
      
        #endregion
        
        #region Properties
        //--------------------------------------------------------------------
        // Properties
        //--------------------------------------------------------------------
        public NavigationTarget GoTo { get; set; }
        public Brush Color { get; set; }
        public bool IsWizard { get; set; }


        public override string Text
        {
            get { return Localization.LanguageDictionary.Current.Translate<string>(TextAsRessourceString, "Text"); }
        }

        public override string HomeButtonIconRessource
        {
            get { return NavigatonTarget != NavigationTarget.ScrumMap && ScrumData.IsUserConnected ? "MenuIconHome" : "MenuIconHomeDisabled"; }
        }

        #endregion

      

        #region Methods
        //--------------------------------------------------------------------
        // Methods
        //--------------------------------------------------------------------

        

        public override void Action()
        {
            NaviController.GoTo(GoTo);
        }
        #endregion

 
    }
}
